package com.wangyuhang.service;

import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

public interface userService {
   @Transactional  /*开启事务，一般推荐定义在接口上*/
   void change(String name1,String name2,int salary);
}
